﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Xwork.SEO.WebSite
{
    public abstract class SEOPage<TModel> : System.Web.Mvc.WebViewPage<TModel>
    {
        protected new User User
        {
            get { return (User)Session["user"]; }
        }

        protected bool IsLogin
        {
            get { return User != null; }
        }
    }
}